package com.zhang.service;

import com.zhang.entity.PlatformPropertyKey;
import com.baomidou.mybatisplus.extension.service.IService;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * <p>
 * 属性表 服务类
 * </p>
 *
 * @author zbw
 * @since 2022-04-03
 */
@Service
public interface PlatformPropertyKeyService extends IService<PlatformPropertyKey> {

    //根据商品分类id查询平台属性
    List<PlatformPropertyKey> getPlatformPropertyByCategoryId(Long category1Id, Long category2Id, Long category3Id);

    //保存平台属性
    void savePlatformProperty(PlatformPropertyKey platformPropertyKey);

    //4.根据skuId查询商品平台属性
    List<PlatformPropertyKey> getPlatformPropertyBySkuId(Long skuId);
}
